#include <stdio.h>
#include <math.h>
int main()
{
    int i, j, k;
    printf("%d\n%d\n",2,3);
    for (i = 1; i <= 200; i += 2)
    {
        k = sqrt(i);
        for (j = 2; j <= k; j++)
        {
            if (i%j == 0)			break;
            if (j==k)			printf("%d\n",i);
        }

    }
    return 0;
}
